package com.bh.kysys.mapper;

import com.bh.common.basemapper.RootMapper;
import com.bh.kysys.domain.JcSysOrganization;
import com.bh.kysys.vo.JcSysOrganizationVo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Set;

/**
 * organizationMapper接口
 *
 * @author slx
 * @date 2023-03-11
 */
@Mapper
public interface JcSysOrganizationMapper extends RootMapper<JcSysOrganization> {

    /**
     * 查询organization列表
     *
     * @param jcSysOrganization organization
     * @return organization集合
     */
    public List<JcSysOrganization> selectJcSysOrganizationList(JcSysOrganization jcSysOrganization);

    /**
     * 查询organization列表
     *
     * @param jcSysOrganization organization
     * @return organization集合
     */
    public List<JcSysOrganization> selectJcSysOrganizationTree(JcSysOrganizationVo jcSysOrganization);

    /**
     * 查询organization列表
     *
     * @param jcSysOrganization organization
     * @return organization集合
     */
    public List<JcSysOrganization> selectUserJcSysOrganizationList(JcSysOrganizationVo jcSysOrganization);


    public JcSysOrganization selectJcSysOrganizationByName(String name);


    public List<JcSysOrganization> selectJcSysOrganizationByNames(Set<String> names);

}
